<!--{include file="oui/public/header.html"}-->
<!--{include file="oui/public/navibar.html"}-->
<!--{include file="oui/public/sidebar.html"}-->
<!--{include file="oui/public/breadcrumb-2.html"}-->
<div class="well">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#option1" data-toggle="tab">基本信息</a></li>
        <li class=""><a href="#option2" data-toggle="tab">常规选项</a></li>
    </ul>
    <form method="post" class="form" action=<!--{$data.meta.action}-->>
    <input type="hidden" id="id" name="id" value=<!--{$data.base.id}-->>
    <div id="myTabContent" class="tab-content">
        <div id="option1" class="tab-pane active in">
            <label>展会名称</label>
            <input type="text" class="input-xlarge-1" id="name" name="name" autofocus="true" value=<!--{$data.base.name}-->>
            <!--优雅的分隔线-->
            <div class="sub-block-left">
                <label>地点</label>
                <input type="text" class="input-xlarge-1" id="site" name="site" value=<!--{$data.base.site}-->>
            </div>
            <!--优雅的分隔线-->
            <div class="sub-block-right">
                <label>时间</label>
                <input type="text" class="input-xlarge-1" id="period" name="period" value=<!--{$data.base.period}-->>
            </div>
            <!--优雅的分隔线-->
            <div class="clear"></div>
            <label>正文</label>
            <textarea class="input-xlarge hidden" id="content" name="content" rows="10" xheditor="true" height="390" upImgUrl=<!--{Route->MakeHyperLink Controller=':common_xheditor::upload'}-->><!--{$data.base.content}--></textarea>
        </div>
        <div id="option2" class="tab-pane fade">
            <label>缩略图<span id="cover1-error-paniel" class="label label-important hidden"></span></label>
            <input type="text" id="cover" name="cover" x-upload="true" x-data="cover1-error-paniel|exhibition" x-upload-ui=<!--{Route->MakeHyperLink Controller=':common_upload'}--> value=<!--{$data.base.cover}-->>
            <!--优雅的分隔线-->
            <label>日期</label>
            <div class="controls date form_datetime" data-date="1979-09-16T05:25:07Z" data-link-field="datetime">
                <input class="input-xlarge-3" type="text" id="datetime" name="datetime" readonly="readonly" x-date="true" value=<!--{$data.base.datetime|date_format:'%Y-%m-%d'}-->>
                <span class="add-on hidden"><i class="icon-remove"></i></span>
                <span class="add-on hidden"><i class="icon-th"></i></span>
            </div>
            <!--优雅的分隔线-->
            <label>行业</label>
            <input type="hidden" id="industry-value" name="industry-value" value=<!--{$data.base.industry}-->>
            <select class="select-xlarge-2" id="industry" name="industry">
                <!--{foreach from=$data.industry item=item}-->
                <option value="<!--{$item.id}-->"><!--{$item.name}--></option>
                    <!--{foreach from=$item.data item=subItem}-->
                    <option value="<!--{$subItem.id}-->">　　<!--{$subItem.name}--></option>
                        <!--{foreach from=$subItem.data item=row}-->
                        <option value="<!--{$row.id}-->">　　　　<!--{$row.name}--></option>
                        <!--{/foreach}-->
                    <!--{/foreach}-->
                <!--{/foreach}-->
            </select>
        </div>
        <div class="btn-toolbar">
            <button type="submit" class="btn btn-primary"><strong>提交</strong></button>
        </div>
    </div>
    </form>
</div>
<!--优雅的分隔线-3-->
<script src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/library/trigger.upload.js></script>
<!--优雅的分隔线-->
<script src=<!--{$smarty.const.BUILD_PATH}-->/public/JEAR/xheditor/xheditor-1.1.14-zh-cn.min.js></script>
<script src=<!--{$smarty.const.BUILD_PATH}-->/public/JEAR/xheditor/xheditor.initialization.js></script>
<!--优雅的分隔线-->
<script src=<!--{$smarty.const.BUILD_PATH}-->/public/UIR/bootstrap/plugins/datetimepicker/js/bootstrap-datetimepicker.min.js></script>
<script src=<!--{$smarty.const.BUILD_PATH}-->/public/UIR/bootstrap/plugins/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js></script>
<link rel="stylesheet" href=<!--{$smarty.const.BUILD_PATH}-->/public/UIR/bootstrap/plugins/datetimepicker/css/bootstrap-datetimepicker.min.css>
<script src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/library/trigger.datetime-picker.js></script>
<!--优雅的分隔线-->
<script src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/exhibition.form.js></script>
<!--{include file="oui/public/footer.html"}-->